<?php
	class Search_Model extends CI_Model
	{
		var $table = "db_product";
		function __construct()
		{
			parent::__construct();
		}
		function result_search($key)
		{
			$this->db->like('name_product',$key);
			return $this->db->get($this->table)->result();
            
		}
	}
?>